---
id: "line"
keywords: ["line"]
name: "__LINE__"
summary: "This is the `__LINE__` special value."
category: "specialvalues"
---

`__LINE__` returns the line number in the file at which you put this very expression.

<CodeTab labels={["ReScript", "JS Output"]}>

```res example
// Line 1
// Line 2
__LINE__->Console.log
```

```js
console.log(3);
```

</CodeTab>
